 {extend name="layout:base" /}{block name="content"}

 <?php
$global = 0;
if($LoginUserInfo['Group']['id']==1)
{
$global = 1;
}
 ?>
 <link rel="stylesheet" type="text/css" href="/static/My97DatePicker/skin/WdatePicker.css" />
     <script charset="utf-8" src="/static/My97DatePicker/WdatePicker.js"></script>
<style type="text/css">
  .yg_inp>input{margin-bottom: 10px;}
#zc_detail table{margin:10px;}
#zc_detail table tr td{
	border: 1px solid #ddd;
	height:40px;
	line-height:40px;
	padding-left:5px;
	padding-right:5px;
} 
.ordertable input {width:90%;}
.policeLable{padding:2px 4px;margin-left:4px;}
#taskDate .taskDateItem{
	width:100%;height:40px;line-height:40px;margin:4px 0px;
}
#taskDate .taskDateItem .taskDateItemLeft{width:10%;float:left;}
#taskDate .taskDateItem .taskDateItemRight1{width:70%;float:left;border:1px solid #139667;height: 42px;}
#taskDate .taskDateItem .taskDateItemRight2{width:20%;float:right;}
#taskDate .taskDateItem .opUsers img{width:22px;margin-left:5px;}

#taskDate .taskDateItem .itemUser{padding: 4px 6px;background:#139667;margin-left:4px;color:white;}
#taskDate .taskDateItem .clear{clear:both;width:0px;height:0px;overflow:hidden;}
#taskDate .taskDateItem .jia,#taskDate .taskDateItem .jian{font-size:30px;cursor:pointer;font-weight:800;margin-left:5px;}

.table tr th{text-align:center;}
</style>

<section class="topBanners">
         <div class="icon"></div>
         <div class="topBannersNav">
        <span data-url="/admin/feedback/lists" onclick="ContentLoadGo('/admin/feedback/lists')">用户留言</span>
         >
         <span data-url="/admin/feedback/infoData"  onclick="ContentLoadGo('/admin/feedback/infoData?id=<?php echo $id; ?>')"  >详情</span>
         
         </div>
      </section>
 <section id="zc_detail">

      <input type="hidden" value="<?php echo $id; ?>" id="editId" />
    
   <table class="ordertable"  border="0" cellspacing="0" style="width:90%" cellpadding="0">

	 <tr>
       
       <td width="120"><div align="right">留言时间</div></td>
       <td   class="tr_cons">
        <?php echo $info['ctime']; ?>
       </td>
     </tr>
     <tr>
       
       <td width="120"><div align="right">留言人姓名</div></td>
       <td   class="tr_cons">
        <?php echo $info['name']; ?>
       </td>
     </tr>
       <tr>
       <td width="120"><div align="right">联系电话</div></td>
       <td   class="tr_cons">
      		<?php echo $info['tel']; ?>
       </td>
       </tr>
       <tr>
       <td width="120"><div align="right">内容</div></td>
       <td   class="tr_cons">
      		<?php echo $info['conts']; ?>
       </td>
       </tr>
     
     
     <tr>
       <td width="120"><div align="right">状态</div></td>
       <td   class="tr_cons">
      		     <?php 
if($info['stats']==1)
{
echo '已处理';
}
else
{
echo  '未处理';
}
?>
       </td>
       </tr>
     

     
   </table>
  
  
  
     </section>
     
     
       <script type="text/javascript">
      
      function myResearch(){
		   var url="/admin/feedback/infoData";
		   var id=$("#editId").val();
		   var page=$("#cpage").val();
		   ContentLoadGo(url+"?id="+id+"&page="+page);
		   
	   }
    
      
           $(function(){
        	
        	   
        	   $(".research").unbind().bind("click",function(){
        		   var page =$(this).attr("page");
        		   $("#cpage").val(page);
        		   myResearch();
        		   
        	   });
        	   
        	   
  			  
         	   $(".topBannerItem").click(function(){
         		   
         		   var attArr = $(this).attr();
             	   goToSelfLink(attArr);
             	   
         			
         	   });
  			   
           });
           
	  </script>
	  	  
	  {/block}
	  